package io.github.chutian0610.sqlparser

data class Section(
    /** inclusive */
    val start: Location,
    /** inclusive */
    val end: Location
) {
    override fun toString(): String = "Section($start...$end)"

    companion object {
        val EMPTY: Section = empty()
        private fun empty(): Section = Section(Location(0, 0), Location(0, 0))
    }
}
